package com.baidu.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Order {
    private Integer oid;
    private Integer uid;
    private Integer tid;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date otime;
    private Integer oquantity;
    private Integer ostate;

    private Ticket ticket;
}
